package com.example.springboot.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class JudgeSignExport implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty("姓名")
    @ApiModelProperty("姓名")
    private String name;

    @ExcelProperty("性别")
    @ApiModelProperty("性别")
    private String sex;

    @ExcelProperty("身份证号")
    @ApiModelProperty("身份证号")
    private String idcard;

    @ExcelProperty("手机")
    @ApiModelProperty("手机")
    private String phone;

    @ExcelProperty("代表单位")
    @ApiModelProperty("代表单位")
    private String representUnit;

    @ExcelProperty("工作单位")
    @ApiModelProperty("工作单位")
    private String workUnit;

    @ExcelProperty("现裁判等级")
    @ApiModelProperty("现裁判等级")
    private String judgeLevel;

    @ExcelProperty("现等级通过时间")
    @ApiModelProperty("现等级通过时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date passDate;

    @ExcelProperty("最近执裁或复训活动名称及地点")
    @ApiModelProperty("最近执裁或复训活动名称及地点")
    private String latestRecord;

    @ExcelProperty("比赛名称")
    private String raceName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRepresentUnit() {
        return representUnit;
    }

    public void setRepresentUnit(String representUnit) {
        this.representUnit = representUnit;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getJudgeLevel() {
        return judgeLevel;
    }

    public void setJudgeLevel(String judgeLevel) {
        this.judgeLevel = judgeLevel;
    }

    public Date getPassDate() {
        return passDate;
    }

    public void setPassDate(Date passDate) {
        this.passDate = passDate;
    }

    public String getLatestRecord() {
        return latestRecord;
    }

    public void setLatestRecord(String latestRecord) {
        this.latestRecord = latestRecord;
    }

    public String getRaceName() {
        return raceName;
    }

    public void setRaceName(String raceName) {
        this.raceName = raceName;
    }
}
